package com.jy.blog.model;

public class Message {
   private int messageId;
   private String messContent;
   private String messDate;
   private String messTitle;
   
   public Message(){
	   
   }

public Message(int messageId, String messContent, String messDate, String messTitle) {
	
	this.messageId = messageId;
	this.messContent = messContent;
	this.messDate = messDate;
	this.messTitle = messTitle;
}

public int getMessageId() {
	return messageId;
}

public void setMessageId(int messageId) {
	this.messageId = messageId;
}

public String getMessContent() {
	return messContent;
}

public void setMessContent(String messContent) {
	this.messContent = messContent;
}

public String getMessDate() {
	return messDate;
}

public void setMessDate(String messDate) {
	this.messDate = messDate;
}

public String getMessTitle() {
	return messTitle;
}

public void setMessTitle(String messTitle) {
	this.messTitle = messTitle;
}

@Override
public String toString() {
	return "Message [messageId=" + messageId + ", messContent=" + messContent + ", messDate=" + messDate
			+ ", messTitle=" + messTitle + "]";
}
   
}
